package itsm.isperp.module.entity.bpm;

import itsm.isperp.framework.domain.BaseBean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 
 * 流程定义
 * 
 * @author lizx
 * @date ${date}
 * 
 */
@Entity
@Table(name = "bpm_process_setting")
public class BpmProcessSetting extends BaseBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Column
	String formStartUrl;

	@Column
	String viewUrl;

	@Column
	String actReProcdefKey;

	@Column
	String dbEntityId;

	@Column
	String dbForSlmEntityId;

	@Column
	boolean areDomain;

	@Column
	boolean useForRelation;

	@Column
	String processRelationTitleColumn;
	
	@Column
	String categoryId;
	
	@Column
	String categoryName;

	public boolean isUseForRelation() {
		return useForRelation;
	}

	public void setUseForRelation(boolean useForRelation) {
		this.useForRelation = useForRelation;
	}

	public String getProcessRelationTitleColumn() {
		return processRelationTitleColumn;
	}

	public void setProcessRelationTitleColumn(String processRelationTitleColumn) {
		this.processRelationTitleColumn = processRelationTitleColumn;
	}

	public String getFormStartUrl() {
		return formStartUrl;
	}

	public boolean isAreDomain() {
		return areDomain;
	}

	public void setAreDomain(boolean areDomain) {
		this.areDomain = areDomain;
	}

	public void setFormStartUrl(String formStartUrl) {
		this.formStartUrl = formStartUrl;
	}

	public String getActReProcdefKey() {
		return actReProcdefKey;
	}

	public void setActReProcdefKey(String actReProcdefKey) {
		this.actReProcdefKey = actReProcdefKey;
	}

	public String getViewUrl() {
		return viewUrl;
	}

	public void setViewUrl(String viewUrl) {
		this.viewUrl = viewUrl;
	}

	public String getDbEntityId() {
		return dbEntityId;
	}

	public void setDbEntityId(String dbEntityId) {
		this.dbEntityId = dbEntityId;
	}

	public String getDbForSlmEntityId() {
		return dbForSlmEntityId;
	}

	public void setDbForSlmEntityId(String dbForSlmEntityId) {
		this.dbForSlmEntityId = dbForSlmEntityId;
	}

	public String getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(String categoryId) {
		this.categoryId = categoryId;
	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

}
